<!doctype html> 
<html ng-app=''> 
<head> 
    <meta charset="utf-8"> 
    <title></title>
    <script type="text/javascript" src='angular.js'></script>
</head>
<style type="text/css">
div{transition:.5s all ease;
background: black;}
.div{
	width: 100px;height: 100px;
	background: black;
}
.div1{
	width: 100px;height: 100px;
	background: red;
}

</style>
<body ng-init='a=12'>
<input type='button' ng-click='alert(a)' onclick=alert(a)> 

</body>
</html>